package com.order.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "order")   //配置批量绑定，无需@RefreshScope注解
@Data
public class OrderProperties {
    String timeout;

    String autoConfirm;

    String dbUrl;
}
